package com.whp.yky.yky.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.whp.yky.yky.entity.ShopSysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 32682
* @description 针对表【shop_sys_user】的数据库操作Mapper
* @createDate 2022-01-17 12:33:54
* @Entity com.whp.yky.yky.entity.ShopSysUser
*/
@Mapper
public interface ShopSysUserMapper extends BaseMapper<ShopSysUser> {

    public List<ShopSysUser> getUserInfo(IPage<ShopSysUser> page, @Param("user") ShopSysUser user);

    public ShopSysUser getUser(ShopSysUser user);

    public int insertUserInfo(ShopSysUser user);

    public int updateUserInfo(ShopSysUser user);


    public ShopSysUser loginInfo(@Param("user") ShopSysUser user);



    int deleteUserInfo(int id);
}




